package com.dbw.test;

import java.io.File;
import java.util.List;

import com.dbw.inputmethod.CharCode;
import com.dbw.inputmethod.CharCodeLibMaker;
import com.dbw.inputmethod.CharCodeLibParser;
import com.dbw.inputmethod.QQPinyinLibMaker;
import com.dbw.inputmethod.QQWubiLibParser;

public class Main {

    public static void main(String[] args) throws Exception {
        
        CharCodeLibParser parser = new QQWubiLibParser();
        List<CharCode> charCodeList = parser.parse(
                new File("res\\QQ五笔系统词库_2018_1_9.txt"));
        CharCodeLibMaker maker = new QQPinyinLibMaker();
        maker.make(charCodeList, new File("res\\QQ拼音缩写库.ini"));
    }
}
